package com.demo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("tb_like")
public class Like {
    @TableId(type= IdType.AUTO,value="l_id")
    @TableField(value = "l_id")
    private Long id;

    @TableField(value = "l_uid")
    private Long uid;

    @TableField(value = "l_unickname")
    private String unickname;

    @TableField(value = "l_object_type")
    private int objType;

    @TableField(value = "l_object_id")
    private Long objId;

    @TableField(value = "l_created_at")
    private LocalDateTime createTime;
}
